package org.example2;

/**
 * 售票服务接口实现类,车站
 */
public class Station implements TicketService {

    @Override
    public void sellTicket() {
        System.out.println("Station售票.....");
    }

    @Override
    public String inquire(String msg) {
        System.out.println("Station问询....");
        return "Station查询到了信息---"+msg;
    }

    @Override
    public void withdraw() {
        System.out.println("Station退票......");
    }
}